package com.grj.parkingsystem.service;

import com.grj.parkingsystem.entity.ParkingLot;
import com.baomidou.mybatisplus.extension.service.IService;
import com.grj.parkingsystem.entity.ParkingSpace;

import java.util.List;

/**
* @author ganru
* @description 针对表【t_parking_lot(停车场表)】的数据库操作Service
* @createDate 2025-05-16 16:51:44
*/
public interface ParkingLotService extends IService<ParkingLot> {
    List<ParkingLot> getNearbyParkings(double latitude, double longitude, double radius);
    boolean updateAvailableSpaces(Long parkingLotId, int change);
    List<ParkingSpace> getParkingSpaces(Long parkingLotId);
}
